Public Member Functions | |
| getName () | |
| rename ($newName) | |
| appliesTo ($name) | |
| getType () | |
| size () | |
| setFilemtime ($filemtime) | |
| lastModified ($filemtime) | |
| filemtime () | |
| at (vfsStreamContainer $container) | |
| chmod ($permissions) | |
| getPermissions () | |
| isReadable ($user, $group) | |
| isWritable ($user, $group) | |
| isExecutable ($user, $group) | |
| chown ($user) | |
| isOwnedByUser ($user) | |
| getUser () | |
| chgrp ($group) | |
| isOwnedByGroup ($group) | |
| getGroup () | |
Data Fields | |
| const | TYPE_FILE = 0100000 |
| const | TYPE_DIR = 0040000 |
| appliesTo | ( | $ | name ) |
checks whether the container can be applied to given name
| string | $name |
Implemented in vfsStreamAbstractContent, and vfsStreamFile.
| at | ( | vfsStreamContainer $ | container ) |
adds content to given container
| vfsStreamContainer | $container |
Implemented in vfsStreamAbstractContent.
| chgrp | ( | $ | group ) |
change owner group of file to given group
| int | $group |
Implemented in vfsStreamAbstractContent.
| chmod | ( | $ | permissions ) |
change file mode to given permissions
| int | $permissions |
Implemented in vfsStreamAbstractContent.
| chown | ( | $ | user ) |
change owner of file to given user
| int | $user |
Implemented in vfsStreamAbstractContent.
| filemtime | ( | ) |
returns the last modification time of the stream content
Implemented in vfsStreamAbstractContent.
| getGroup | ( | ) |
| getName | ( | ) |
stream content type: symbolic link
Implemented in vfsStreamAbstractContent.
| getPermissions | ( | ) |
| getType | ( | ) |
| getUser | ( | ) |
| isExecutable | ( | $ | user, |
| $ | group | ||
| ) |
checks whether content is executable
| int | $user | id of user to check for |
| int | $group | id of group to check for |
Implemented in vfsStreamAbstractContent.
| isOwnedByGroup | ( | $ | group ) |
checks whether file is owned by group
| int | $group |
Implemented in vfsStreamAbstractContent.
| isOwnedByUser | ( | $ | user ) |
checks whether file is owned by given user
| int | $user |
Implemented in vfsStreamAbstractContent.
| isReadable | ( | $ | user, |
| $ | group | ||
| ) |
checks whether content is readable
| int | $user | id of user to check for |
| int | $group | id of group to check for |
Implemented in vfsStreamAbstractContent.
| isWritable | ( | $ | user, |
| $ | group | ||
| ) |
checks whether content is writable
| int | $user | id of user to check for |
| int | $group | id of group to check for |
Implemented in vfsStreamAbstractContent.
| lastModified | ( | $ | filemtime ) |
sets the last modification time of the stream content
| int | $filemtime |
Implemented in vfsStreamAbstractContent.
| rename | ( | $ | newName ) |
renames the content
| string | $newName |
Implemented in vfsStreamAbstractContent, and vfsStreamDirectory.
| setFilemtime | ( | $ | filemtime ) |
alias for lastModified()
| int | $filemtime |
Implemented in vfsStreamAbstractContent.
| size | ( | ) |
1.7.2